package top.wkl.springboot3.entity;


import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

@TableName("tb_files")
@Data
public class TbFiles implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    @TableField(insertStrategy = FieldStrategy.NEVER, updateStrategy = FieldStrategy.NEVER)
    private Integer id;
    @TableField(updateStrategy = FieldStrategy.NEVER)
    private Integer userId;
    private String fileName;
    private Long fileSize;
    private String contentType;

}
